#pragma once

#include "ElementFactory.h"
#include "SapoFactory.h"
#include "RailFactory.h"
#include "TextureFactory.h"
#include "DrainageFactory.h"
#include <string.h>
#include <map>

class ElementFactoryFactory
{

private:
	static ElementFactoryFactory* instance;
	map<string, ElementFactory*> factoryMap;

public:
	static ElementFactoryFactory* getInstance();
	ElementFactory* getFactory(string);
private:
	ElementFactoryFactory(void);
public:
	~ElementFactoryFactory(void);
};
